package server;

import java.rmi.Remote;
import java.rmi.RemoteException;

import domain.Bill;

import exceptions.NegativeValueException;
import exceptions.NoExistingPriceStepException;

public interface BillingSecureInterface extends SecureInterface {
	
	public PriceSteps getPriceSteps() throws RemoteException;
	
	public void createPriceStep(double startPrice, double endPrice, double fixedPrice, double variablePricePercent) throws RemoteException, NegativeValueException;

	public void deletePriceStep(double startPrice, double endPrice) throws RemoteException, NoExistingPriceStepException;

    public Bill getBill(String user) throws RemoteException;

}
